import { createApp } from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store"
import Particles from "particles.vue3"
import * as utils from "./assets/common/utils"
import echarts from "./assets/common/echarts"
import axios from "./assets/common/request"
import axios1 from "./assets/common/request1"
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import vue3TreeOrg from 'vue3-tree-org';
import "vue3-tree-org/lib/vue3-tree-org.css";

const app = createApp(App);

// 全局挂载
app.config.globalProperties.$util = utils;
app.config.globalProperties.$echarts = echarts;
app.config.globalProperties.$urls = "https://master.huashushop.com"
app.config.globalProperties.imgUrl = "https://cdn.huashushop.com/"
app.config.globalProperties.$axios = axios;
/**客户端请求 */
app.config.globalProperties.$axios1 = axios1;
app.use(ElementPlus).use(vue3TreeOrg)
app.use(router).use(store).use(Particles).mount("#app")
